package com.start.cms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.start.common.model.StartBaseTreeModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("start_cms_category")
public class StartCmsCategoryEntity extends StartBaseTreeModel<StartCmsCategoryEntity> {
    @Schema(name = "类别名称")
    private String categoryTitle;
    @Schema(name = "封面")
    private String categoryCover;
    @Schema(name = "描述")
    private String categoryDescribe;
    @Schema(name = "关键字")
    private String categoryKeyWorld;
    @Schema(name = "标签")
    private String categoryTag;
    @Schema(name = "栏目类型", description = "来源数据字典")
    private String categoryType;
    @Schema(name = "列表模板")
    private String categoryListTemplate;
    @Schema(name = "详情模板")
    private String categoryDetailTemplate;
    @Schema(name = "模型数据")
    private String categoryDataModelId;
    @Schema(name = "排序序号", description = "数值越小越靠前")
    private Integer categorySort = 999;

    @Schema(name = "业务类型")
    private String businessType;


    @Schema(name = "父级层级id", description = "层级id , 分割")
    private String parentIds;

    @Schema(name = "是否存在子级", description = "false 不存在 true 存在")
    private boolean hasChild;


}
